<layout name="master"/>
<ul class="breadcrumb no-border no-radius b-b b-light pull-in">
    <li><a href="#"><i class="fa fa-home"></i> Home</a></li>
    <li><a href="#">基本设置</a></li>
    <li><a href="#">网站配置</a></li>
</ul>
<div class="m-b-md">
    <h3 class="m-b-none">网站配置</h3>
</div>
<div class="row">
    <div class="col-sm-12">
        <section class="panel panel-default">
            <header class="panel-heading font-bold">修改配置</header>
            <div class="panel-body">
                <form role="form" action="" method="post">
                    <div class="form-group">
                        <label>插件名称</label>
                        <input type="text" class="form-control" name="title">
                    </div>
                    <div class="form-group">
                        <label>标识</label>
                        <input type="text" class="form-control"  name="name">
                    </div>
                    <div class="form-group">
                        <label>作者</label>
                        <input type="text" class="form-control"  name="author">
                    </div>
                    <div class="form-group">
                        <label>动作</label>
                        <textarea name="action" placeholder="category|栏目管理"  class="form-control" cols="30" rows="10"></textarea>
                        <span class="help-block">每行一个动作</span>
                    </div>
                    <button type="submit" class="btn btn-sm btn-default">保存</button>
                </form>
            </div>
        </section>

    </div>
</div>
<script>
    function controller($scope,util,_) {
        $scope.field=<?php echo $field?$field['data']:'{}'?>;
    }
</script>